<template>
	<view class="">
		<view class="mask">
			<view class="bg_img" :style="{ backgroundImage: 'url('+ baseUrl+ img+')'}"></view>
		</view>
	</view>
</template>

<script>
	import request from '@/common/lib/request.js'
	export default {
		
		data() {
			return {
				baseUrl:request.common.baseUrl,
				img: ''
			}
		},
		onLoad(option) {
			this.img = option.img
		}
	}
</script>

<style lang="less" scoped>
.page {
	position: fixed;
	z-index: 6;
	color: #fff;
	bottom: 20rpx;
	text-align: center;
	width: 100%;
}
.mask {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #000;
	z-index: 5;
	.bg_img {
		background-size: 100% auto;
		background-repeat: no-repeat;
		background-position:center;
		width: 100%;
		height: 100%;
	}
}
</style>
